package cn.zn.modules.invoice.service;

import cn.zn.framework.common.utils.PageUtils;
import cn.zn.modules.invoice.entity.InvoiceDetailEntity;
import cn.zn.modules.invoice.entity.dto.InvoiceDetailQueryDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 发票信息
 *
 * @author zn
 * @email zhunahao@qq.com
 * @date 2020-04-08 22:07:19
 */
public interface InvoiceDetailService extends IService<InvoiceDetailEntity> {

    PageUtils queryPage(InvoiceDetailQueryDTO invoiceDetailQuery);

    List<InvoiceDetailEntity> queryList(String recordCode);

    /**
     * 根据记录编号删除
     *
     * @param recordCode
     */
    void deleteByRecordCode(String recordCode);
}

